import 'package:flutter/cupertino.dart';
import 'package:flutter_hx/theme/app_theme.dart';

class Application extends ChangeNotifier{
  static final  navigatorKey=GlobalKey<NavigatorState>();
  static AppTheme appTheme=AppTheme.light();

  ///token
  String _token="";


  bool get isLogin=>_token.isNotEmpty;

  String get  token=>_token;
  set token(String token){
    _token=token;
    notifyListeners();
  }

}